package com.kssoft.ebd.spider.pipeline;

import com.kssoft.ebd.service.BroadcastPageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import us.codecraft.webmagic.ResultItems;
import us.codecraft.webmagic.Task;
import us.codecraft.webmagic.pipeline.Pipeline;


@Component
public class DbPipeline implements Pipeline {
    @Autowired
    private BroadcastPageService newsService;

    @Override
    public void process(ResultItems resultItems, Task task) {
        for (Object v : resultItems.getAll().values()) {

        }
    }
}
